a5bdb8d0d7dce5c0622671fba25865a524d9cea1,src/org/opencms/workplace/CmsProperty.java,CmsProperty,buildActionButtons,#,317

Before Change


     * @return the HTML output String for the buttons
     */
    public String buildActionButtons() {
        CmsLock lock = getCms().getLock(getParamFile());

        if (!lock.isNullLock()) {
            // resource is locked, show "define" & "modify" button

After Change


            }
        } catch (CmsException e) { }
        
        CmsLock lock = getCms().getLock(resourceName);
        
        if (!lock.isNullLock()) {
            // resource is locked, show "define" & "modify" button